Fail on ICE failure Avoid timeout as failure, per https://github.com/w3c/web-platform-tests/pull/1900#issuecomment-112259901
diff --git a/webrtc/no-media-call.html b/webrtc/no-media-call.html index b2186dc..53c0e8a 100644 --- a/webrtc/no-media-call.html +++ b/webrtc/no-media-call.html
@@ -86,6 +86,8 @@ var onIceConnectionStateChange = test.step_func(function(event) { assert_equals(event.type, 'iceconnectionstatechange'); + assert_not_equals(gFirstConnection.iceConnectionState, "failed", "iceConnectionState of first connection"); + assert_not_equals(gSecondConnection.iceConnectionState, "failed", "iceConnectionState of second connection"); var stateinfo = document.getElementById('stateinfo'); stateinfo.innerHTML = 'First: ' + gFirstConnection.iceConnectionState + '<br>Second: ' + gSecondConnection.iceConnectionState;